package com.cwd.arm.infrastructure.po;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cwd.arm.infrastructure.po.base.BasePo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* Description:项目
* Created on 2021年11月16日
* @author  yan
*/
@Data
@TableName("t_project")
public class ProjectPo extends BasePo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 项目名称
    */
    private String projectName;

    /**
    * 甲方名称
    */
    private String partnerName;

    /**
    * 项目类型key
    */
    private String projectTypeKey;

    /**
    * 税点
    */
    private BigDecimal taxPoint;

    /**
    * 开工时间
    */
    private Date startDate;

    /**
    * 完工时间
    */
    private java.util.Date endDate;

    /**
    * 合同金额(万元)
    */
    private java.math.BigDecimal contractAmount;

    /**
     * 合同签订时间
     */
    private Date contractDate;

    /**
    * 应收金额
    */
    private BigDecimal receivableAmount;

    /**
    * 已收金额
    */
    private BigDecimal receivedAmount;

    /**
    * 结算金额
    */
    private BigDecimal closeAmount;


    /**
    * 预计支出金额
    */
    private BigDecimal expectPayAmount;

    /**
    * 实际支出金额
    */
    private BigDecimal actualPayAmount;

    /**
    * 已开票未到账金额
    */
    private BigDecimal taxUnreceiveAmount;

    /**
    * 未到账金额
    */
    private BigDecimal unrevicedAmount;

    /**
    * 确认收入金额
    */
    private BigDecimal confirmAmount;

    /**
    * 
    */
    private Boolean isBadDebt;

    /**
    * 收款周期
    */
    private Integer receiveCycle;

    /**
     * 结算周期
     */
    private Integer closeCycle;

    /**
     * 结算时间
     */
    private Date closeDate;

    /**
    * 10进行中;20结算中;30已结算;40待收尾款;50已完成收款
    */
    private Integer projectStatus;

    /**
    * 业务类型:normal常规;outside体外项目
    */
    private String businessType;

    /**
    * 备注
    */
    private String remark;

    private String receiveDirector;

    private String dataDirector;

    private BigDecimal nodeCloseAmount;

    private BigDecimal cashRate;

    /**
     * 计算金额：有结算金额为结算金额否则为合同金额
     */
    private BigDecimal calAmount;


}
